package de.fhkl.strokeprotocol.messages;

import java.util.UUID;

/**
 * Message indicating that the video with the given id has been accepted by
 * someone else.
 */
public class VideoAssignedMessage implements IMessage
{
	private static final long serialVersionUID = -5180932707970820228L;

	/** ID of the correspondent video */
	private UUID mVideoId;

	/**
	 * Message indicating that the video with the given id has been accepted by
	 * someone else.
	 * 
	 * @param videoId
	 */
	public VideoAssignedMessage(UUID videoId)
	{
		mVideoId = videoId;
	}

	/**
	 * Get ID of the correspondent video.
	 * 
	 * @return
	 */
	public UUID getVideoId()
	{
		return mVideoId;
	}

	/**
	 * Set ID of the correspondent video.
	 * 
	 * @param videoId
	 */
	public void setVideoId(UUID videoId)
	{
		mVideoId = videoId;
	}
}
